package com.kingzoon.seckill.service;

import java.util.List;

import com.kingzoon.seckill.entity.Oauth2Client;

public interface ClientService {

	public Oauth2Client createClient(Oauth2Client client);

	public Oauth2Client updateClient(Oauth2Client client);

	public void deleteClient(Long clientId);

	Oauth2Client findOne(Long clientId);

	List<Oauth2Client> findAll();

	Oauth2Client findByClientId(String clientId);

	Oauth2Client findByClientSecret(String clientSecret);

}
